import axios from 'common/js/axios'
// 职位列表
export function JobList(json) {
    const url = '/Job/jobList'

    return axios.post(url, json)
}

// 操作职位
export function JobAudit(json) {
    const url = '/Job/jobAudit'

    return axios.post(url, json)
}

// 举报职位列表
export function JobComplaintList(json) {
    const url = '/Job/jobComplaintList'

    return axios.post(url, json)
}

// 全局职位申请列表
export function JobApplyList(json) {
    const url = '/Job/jobApplyList'

    return axios.post(url, json)
}

// 职位信息
export function JobEdit(json) {
    const url = '/Job/jobEdit'

    return axios.post(url, json)
}

// 更新/创建职位
export function JobCreate(json) {
    const url = '/Job/jobCreate'

    return axios.post(url, json)
}


// 更新/创建职位
export function JobComplaintAudit(json) {
    const url = '/Job/jobComplaintAudit'

    return axios.post(url, json)
}

// 置顶信息
export function TopList(json) {
    const url = '/company/topList'

    return axios.post(url, json)
}

// 购买置顶
export function BuyTopList(json) {
    const url = '/company/buyTopList'

    return axios.post(url, json)
}

// 取消置顶
export function CancelTopList(json) {
    const url = '/company/cancelTopList'

    return axios.post(url, json)
}

//下载职位图片url
export function jobFileUrl(json) {
    const url = '/common/miniprogramQrcode'

    return axios.post(url, json)
}